package com.zxl.grocery.microservice.zuulgateway.server.feign;

import com.zxl.grocery.microservice.api.log.LogInfo;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 保存日志
 *
 * @author zxl
 * @create 2017-10-01 15:16
 */
@FeignClient("grocery-admin")
public interface ILogService {
  @RequestMapping(value="/api/log/save",method = RequestMethod.POST)
  public void saveLog(LogInfo info);
}
